﻿namespace FFF.Test.Entity.Demo.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.Demo.View;       

	/// <summary>
    /// 学生课程表(编辑)展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(DemoStudent2CourseEntity))] 
    public partial class DemoStudent2CourseDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 课程GUID
        /// </summary>
		[Display(Name = "课程GUID", Description = "课程GUID")]
        [Column("CourseGUID")]
        public Guid? CourseGUID { get; set; }
        
		/// <summary>
        /// 学生GUID
        /// </summary>
		[Display(Name = "学生GUID", Description = "学生GUID")]
        [Column("StudentGUID")]
        public Guid? StudentGUID { get; set; }
        
		/// <summary>
        /// 分数
        /// </summary>
		[Display(Name = "分数", Description = "分数")]
        [Column("Score")]
        public decimal? Score { get; set; }
        
    }
    
    /// <summary>
    /// 学生课程表(编辑)新增时候的dto
    /// </summary>
	[AutoMap(typeof(DemoStudent2CourseEntity))]
    [AutoMapFrom(typeof(ViewDemoStudent2Course))] 
    public partial class DemoStudent2CourseCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 课程GUID
        /// </summary>
		[Display(Name = "课程GUID", Description = "课程GUID")]
        [Column("CourseGUID")]
        public Guid? CourseGUID { get; set; }
        
		/// <summary>
        /// 学生GUID
        /// </summary>
		[Display(Name = "学生GUID", Description = "学生GUID")]
        [Column("StudentGUID")]
        public Guid? StudentGUID { get; set; }
        
		/// <summary>
        /// 分数
        /// </summary>
		[Display(Name = "分数", Description = "分数")]
        [Column("Score")]
        public decimal? Score { get; set; }
        
    }
     
     /// <summary>
    /// 学生课程表(编辑)更新时候Dto
    /// </summary>
	[AutoMap(typeof(DemoStudent2CourseEntity))]
    [AutoMapFrom(typeof(ViewDemoStudent2Course))] 
    public partial class DemoStudent2CourseUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 课程GUID
        /// </summary>
		[Display(Name = "课程GUID", Description = "课程GUID")]
        [Column("CourseGUID")]
        public Guid? CourseGUID { get; set; }
        
		/// <summary>
        /// 学生GUID
        /// </summary>
		[Display(Name = "学生GUID", Description = "学生GUID")]
        [Column("StudentGUID")]
        public Guid? StudentGUID { get; set; }
        
		/// <summary>
        /// 分数
        /// </summary>
		[Display(Name = "分数", Description = "分数")]
        [Column("Score")]
        public decimal? Score { get; set; }
        
    }
}
